package com.zhiche.lisa.bms.service.base;

import com.baomidou.mybatisplus.service.IService;
import com.zhiche.lisa.bms.dao.model.base.BaseCommonParame;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author linbao
 * @since 2019-08-06
 */
public interface BaseCommonParameService extends IService<BaseCommonParame> {

    /**
     * 根据分组获取对应的参数
     *
     * @param key
     * @return
     */
    List<BaseCommonParame> getBaseCommonParameListByCode(String key);

    /**
     * 获取对应的参数值
     *
     * @param key
     * @return
     */
    List<String> getBaseCommonValueByKey(String key);
}
